package com.cy.teducommunitys.com.cy.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.teducommunitys.com.cy.entity.Topic;
import com.cy.teducommunitys.com.cy.mapper.TopicMapper;
import com.cy.teducommunitys.com.cy.service.ITopicService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 主帖 服务实现类
 * </p>
 *
 * @author mdzz
 * @since 2019-07-19
 */
@Service
public class TopicServiceImpl extends BaseServiceImpl<Topic> implements ITopicService {
    private TopicMapper mapper;
    @Autowired
    public TopicServiceImpl(TopicMapper mapper) {
        super(mapper);
        this.mapper = mapper;
    }
}
